<?php
namespace PhpQq\WebQq;
if (!defined('BASEPATH'))
    exit('No direct script access allowed');

/*****************************************************************************************
 *  
 * 
 * 
 *****************************************************************************************
 */

class QqMessageExec extends WebQqMessageExec{
   public function __construct() {
       echo 'QqMessageExec  reg'."\r\n";
   }
   
    public function exec($msg) {
        echo 'QqMessageExec: msg is:'."\r\n";
        \CLI::echos($msg);
        echo "\r\n";
        return false;
    }
}


class newExec extends WebQqMessageExec{
   public function __construct() {
       echo 'newExec reg'."\r\n";
   }
    
    public function exec($msg) {
        echo 'newExec:reply:'."\r\n";
        return $msg['content'];
    }
}
